package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingPlanDto;
import com.zzyl.entity.NursingPlan;
import com.zzyl.vo.NursingPlanVo;
import com.zzyl.vo.NursingProjectVo;

import java.util.List;

/**
 * @Description NursingPlanService
 * @Author LiShunSen
 * @Date 2024-08-27
 */
public interface NursingPlanService {
    /**
     * 根据id查询
     * @param id
     * @return
     */
    NursingPlanVo getId(Long id);

    void updatePlan(NursingPlanDto nursingPlanDto);
    /**
     * 查询所有护理计划
     * @return
     */
    List<NursingPlanVo> getPlan();
    /**
     * 新增护理计划
     * @param nursingPlanDto
     * @return
     */
    void addPlan(NursingPlanDto nursingPlanDto);
    /**
     * 分页查询
     * @param name
     * @param status
     * @param pageNum
     * @param pageSize
     * @return
     */
    PageResponse<NursingPlanVo> getByPage(String name, Integer status, Integer pageNum, Integer pageSize);

    void deletePlan(Long id);
    /**
     * 启用/禁用护理计划
     * @param id
     * @param status
     * @return
     */
    void statusPlan(Long id, Integer status);


}
